package com.ruibang.glass.sale.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.teaming.cloud.framework2.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;


@Data
@ApiModel
@TableName(value = "g_sale_contract_products")
public class GSaleContractProduct extends BaseEntity implements Serializable {

    @ApiModelProperty(value = "Id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "产品名称")
    private String productName;
    @ApiModelProperty(value = "产品编号")
    private String materialCode;
    @ApiModelProperty(value = "产品Id")
    private String productId;
    @ApiModelProperty(value = "合同id")
    private String contractId;
    @ApiModelProperty(value = "执行标准")
    private String executionStandards;
    @ApiModelProperty(value = "单位")
    private String unit;
    @ApiModelProperty(value = "税率")
    private BigDecimal taxRate;
    @ApiModelProperty(value = "数量")
    private BigDecimal quantity;
    @ApiModelProperty(value = "数量")
    private BigDecimal useQuantity;
    @ApiModelProperty(value = "未税单价")
    private BigDecimal netUnitPrice;
    @ApiModelProperty(value = "含税单价")
    private BigDecimal grossUnitPrice;
    @ApiModelProperty(value = "未税全额")
    private BigDecimal netTotal;
    @ApiModelProperty(value = "含税全额")
    private BigDecimal grossTotal;
    @ApiModelProperty(value = "额税")
    private BigDecimal taxAmount;
    @ApiModelProperty(value = "备注")
    private String remark;


}
